package com.xyrl.project.common.csr.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
/**
 * @className CsrRegisterVo
 * @company 星纭融链科技服务有限公司
 * @author 徐恩源
 * @version 1.0
 * @date 2020-01-05 14:27:34
 * @Description 客户经理注册商户
 */
@Data
@ApiModel(value="注册对象", description="商户")
public class CsrRegisterVo extends CsrApplyVo {



    @ApiModelProperty(value = "商户名称")
    @NotBlank(message = "商户名称不能为空")
    @Length(min = 1, max =50, message = "商户名称必须在{min}~{max}字符之间")
    private String storeName;

    @ApiModelProperty(value = "验证码")
    @NotBlank(message = "验证码不能为空")
    @Length(min = 4, max =4, message = "验证码错误")
    private String verifyCode;

    @ApiModelProperty(value = "所属行业")
    @NotBlank(message = "所属行业不能为空")
    @Length(min = 1, max =64, message = "所属行业必须在{min}~{max}字符之间")
    private String industry;
}
